package com.mt.api.modules.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: plover
 * @Date: 2022/05/05 00:10
 * @Description:
 */
@Data
public class InstoreDetailVo {

    private InstoreSimpleVo instore;

    @ApiModelProperty(value = "颜色尺码数据")
    private List<InstoreDetailVo.Detail> detailList;

    @Data
    public static class Detail {

        private Integer cargoId;

        @ApiModelProperty(value = "款号")
        private String cargoNo;

        @ApiModelProperty(value = "款号名称")
        private String cargoName;

        @ApiModelProperty(value = "批发价格")
        private String wholesalePrice;

        @ApiModelProperty(value = "款号图片")
        private String picUrl;

        private List<InstoreDetailVo.SkuInfo> skuInfoList;

    }

    @Data
    public static class SkuInfo {

        private Integer id;

        @ApiModelProperty(value = "sku id")
        private Integer skuId;

        @ApiModelProperty(value = "颜色")
        private String color;

        @ApiModelProperty(value = "尺码")
        private String size;

        @ApiModelProperty(value = "数量")
        private Integer qty;

    }

}
